<?php
/**
 * BaseController.php file.
 *
 * @author Yufan <nimanyi@gmail.com>
 * @link http://www.dedecms.cn/
 * @copyright Copyright &copy; 2010-2012 Yufan Software LLC
 * @license http://www.dedecms.cn/license/
 * @version $Id: BaseController.php 2011-12-7 7:23:44 Yufan $
 * @since 1.0
 */

class BaseController extends Controller {
    public $keyWord="";
    public $desCription ="";
    public function init() {
        parent::init();
        $this->keyWord="";
        $this->desCription ="";
    }

    /**
     * Declares class-based actions.
     */
    public function actions() {
        return array(
                // captcha action renders the CAPTCHA image displayed on the contact page
                'captcha'=>array(
                        'class'=>'CCaptchaAction',
                        'backColor'=>0xFFFFFF,
                ),
                // page action renders "static" pages stored under 'protected/views/site/pages'
                // They can be accessed via: index.php?r=site/page&view=FileName
                'page'=>array(
                        'class'=>'CViewAction',
                ),
        );
    }
}


?>
